<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>mipicsiss: xmipi_menu.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">mipicsiss
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xmipi__menu_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">xmipi_menu.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains the Xilinx Menu implementation as used in the MIPI example design. </p>
<p>Please see <a class="el" href="xmipi__menu_8h.html" title="This is the main header file for the Xilinx Menu implementation as used in the MIPI example design...">xmipi_menu.h</a> for more details.</p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who    Date     Changes
</p>
<hr/>
<p>
1.00  pg    12/07/17 Initial release.
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a14b96491d9e48ad8fadbbb391d097ab6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__menu_8c.html#a14b96491d9e48ad8fadbbb391d097ab6">Info</a> (void)</td></tr>
<tr class="memdesc:a14b96491d9e48ad8fadbbb391d097ab6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function outputs the video timing , Audio, Link Status, HDMI RX state of HDMI RX core.  <a href="#a14b96491d9e48ad8fadbbb391d097ab6">More...</a><br/></td></tr>
<tr class="separator:a14b96491d9e48ad8fadbbb391d097ab6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc524e092889eb6825e874b8a94fa38b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__menu_8c.html#adc524e092889eb6825e874b8a94fa38b">EnableColorBar</a> (XVphy *VphyPtr, XV_HdmiTxSs *HdmiTxSsPtr, XVidC_VideoMode VideoMode, XVidC_ColorFormat ColorFormat, XVidC_ColorDepth Bpc)</td></tr>
<tr class="memdesc:adc524e092889eb6825e874b8a94fa38b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the ColorBar.  <a href="#adc524e092889eb6825e874b8a94fa38b">More...</a><br/></td></tr>
<tr class="separator:adc524e092889eb6825e874b8a94fa38b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0e2b7e475ed03270d5000ad9bd4e923"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__menu_8c.html#ac0e2b7e475ed03270d5000ad9bd4e923">CloneTxEdid</a> (void)</td></tr>
<tr class="memdesc:ac0e2b7e475ed03270d5000ad9bd4e923"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clones the EDID of the connected sink device to the HDMI RX.  <a href="#ac0e2b7e475ed03270d5000ad9bd4e923">More...</a><br/></td></tr>
<tr class="separator:ac0e2b7e475ed03270d5000ad9bd4e923"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a815be228f3c0f5df1cb4624e60e1c5d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__menu_8c.html#a815be228f3c0f5df1cb4624e60e1c5d3">ResetTpg</a> (void)</td></tr>
<tr class="memdesc:a815be228f3c0f5df1cb4624e60e1c5d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets TPG IP.  <a href="#a815be228f3c0f5df1cb4624e60e1c5d3">More...</a><br/></td></tr>
<tr class="separator:a815be228f3c0f5df1cb4624e60e1c5d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a5ac3a38401a55659af4cf0a4a765b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__menu_8c.html#a4a5ac3a38401a55659af4cf0a4a765b0">XV_ConfigTpg</a> (XV_tpg *InstancePtr)</td></tr>
<tr class="memdesc:a4a5ac3a38401a55659af4cf0a4a765b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates video pattern.  <a href="#a4a5ac3a38401a55659af4cf0a4a765b0">More...</a><br/></td></tr>
<tr class="separator:a4a5ac3a38401a55659af4cf0a4a765b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72dc2cf47df7366bd814007b9a38f9a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__menu_8c.html#a72dc2cf47df7366bd814007b9a38f9a3">EnableDSI</a> ()</td></tr>
<tr class="memdesc:a72dc2cf47df7366bd814007b9a38f9a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables MIPI DSI SS.  <a href="#a72dc2cf47df7366bd814007b9a38f9a3">More...</a><br/></td></tr>
<tr class="separator:a72dc2cf47df7366bd814007b9a38f9a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27ae0b7f949e11fb7e55c2fe3fda88d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__menu_8c.html#a27ae0b7f949e11fb7e55c2fe3fda88d5">Reset_IP_Pipe</a> (void)</td></tr>
<tr class="memdesc:a27ae0b7f949e11fb7e55c2fe3fda88d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets image processing pipe.  <a href="#a27ae0b7f949e11fb7e55c2fe3fda88d5">More...</a><br/></td></tr>
<tr class="separator:a27ae0b7f949e11fb7e55c2fe3fda88d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a757a75677d4ddc9b3d14e2f4f3f0332c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__menu_8c.html#a757a75677d4ddc9b3d14e2f4f3f0332c">CamReset</a> (void)</td></tr>
<tr class="memdesc:a757a75677d4ddc9b3d14e2f4f3f0332c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets IMX274 camera sensor.  <a href="#a757a75677d4ddc9b3d14e2f4f3f0332c">More...</a><br/></td></tr>
<tr class="separator:a757a75677d4ddc9b3d14e2f4f3f0332c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0db91312e15cacbd685acc33f8bfbe4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__menu_8c.html#af0db91312e15cacbd685acc33f8bfbe4">XMipi_MenuInitialize</a> (<a class="el" href="struct_x_mipi___menu.html">XMipi_Menu</a> *InstancePtr, u32 UartBaseAddress)</td></tr>
<tr class="memdesc:af0db91312e15cacbd685acc33f8bfbe4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function takes care of the MIPI menu initialization.  <a href="#af0db91312e15cacbd685acc33f8bfbe4">More...</a><br/></td></tr>
<tr class="separator:af0db91312e15cacbd685acc33f8bfbe4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ba9a6b6dd08002647c9c9311d98c3d1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__menu_8c.html#a1ba9a6b6dd08002647c9c9311d98c3d1">XMipi_MenuReset</a> (<a class="el" href="struct_x_mipi___menu.html">XMipi_Menu</a> *InstancePtr)</td></tr>
<tr class="memdesc:a1ba9a6b6dd08002647c9c9311d98c3d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the menu to the main menu.  <a href="#a1ba9a6b6dd08002647c9c9311d98c3d1">More...</a><br/></td></tr>
<tr class="separator:a1ba9a6b6dd08002647c9c9311d98c3d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9a8f7bf04b219aa044a98795614f300"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__menu_8c.html#af9a8f7bf04b219aa044a98795614f300">XMipi_MenuProcess</a> (<a class="el" href="struct_x_mipi___menu.html">XMipi_Menu</a> *InstancePtr)</td></tr>
<tr class="memdesc:af9a8f7bf04b219aa044a98795614f300"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called to trigger the MIPI menu state machine.  <a href="#af9a8f7bf04b219aa044a98795614f300">More...</a><br/></td></tr>
<tr class="separator:af9a8f7bf04b219aa044a98795614f300"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a2d5525edd4cf0958da26f4eb70d24b85"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__menu_8c.html#a2d5525edd4cf0958da26f4eb70d24b85">IsPassThrough</a></td></tr>
<tr class="memdesc:a2d5525edd4cf0958da26f4eb70d24b85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Demo mode 0-colorbar 1-pass through.  <a href="#a2d5525edd4cf0958da26f4eb70d24b85">More...</a><br/></td></tr>
<tr class="separator:a2d5525edd4cf0958da26f4eb70d24b85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dd9957df1df06f40703f124a18c8904"><td class="memItemLeft" align="right" valign="top">XTpg_PatternId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__menu_8c.html#a4dd9957df1df06f40703f124a18c8904">Pattern</a></td></tr>
<tr class="memdesc:a4dd9957df1df06f40703f124a18c8904"><td class="mdescLeft">&#160;</td><td class="mdescRight">Video pattern.  <a href="#a4dd9957df1df06f40703f124a18c8904">More...</a><br/></td></tr>
<tr class="separator:a4dd9957df1df06f40703f124a18c8904"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a757a75677d4ddc9b3d14e2f4f3f0332c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CamReset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets IMX274 camera sensor. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="ac0e2b7e475ed03270d5000ad9bd4e923"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CloneTxEdid </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function clones the EDID of the connected sink device to the HDMI RX. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="adc524e092889eb6825e874b8a94fa38b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EnableColorBar </td>
          <td>(</td>
          <td class="paramtype">XVphy *&#160;</td>
          <td class="paramname"><em>VphyPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XV_HdmiTxSs *&#160;</td>
          <td class="paramname"><em>HdmiTxSsPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVidC_VideoMode&#160;</td>
          <td class="paramname"><em>VideoMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVidC_ColorFormat&#160;</td>
          <td class="paramname"><em>ColorFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVidC_ColorDepth&#160;</td>
          <td class="paramname"><em>Bpc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables the ColorBar. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VphyPtr</td><td>is a pointer to the VPHY core instance. </td></tr>
    <tr><td class="paramname">HdmiTxSsPtr</td><td>is a pointer to the XV_HdmiTxSs instance. </td></tr>
    <tr><td class="paramname">VideoMode</td><td>is the resolution that is to be displayed </td></tr>
    <tr><td class="paramname">ColorFormat</td><td>that can be RGB888 or YUV422 or YUV420 </td></tr>
    <tr><td class="paramname">Bpc</td><td>is the Bits per color that can be 8 or 10 or 12</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xmipi__example_8c.html#a13f636ef2d93d7ee10e421e5f604a510">I2cClk()</a>, and <a class="el" href="xmipi__example_8c.html#a2d5525edd4cf0958da26f4eb70d24b85">IsPassThrough</a>.</p>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a72dc2cf47df7366bd814007b9a38f9a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EnableDSI </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables MIPI DSI SS. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a14b96491d9e48ad8fadbbb391d097ab6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Info </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function outputs the video timing , Audio, Link Status, HDMI RX state of HDMI RX core. </p>
<p>In addition, it also prints information about HDMI TX, and HDMI GT cores.</p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<p>In addition, it also prints information about HDMI TX, and HDMI GT cores.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<p>In addition, it also prints information about HDMI TX, and HDMI GT cores.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="a27ae0b7f949e11fb7e55c2fe3fda88d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Reset_IP_Pipe </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets image processing pipe. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="a815be228f3c0f5df1cb4624e60e1c5d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ResetTpg </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets TPG IP. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, and <a class="el" href="xmipi__example_8c.html#a09a07df362490e4ba97f77a9ce5edd74">StartTxAfterRx()</a>.</p>

</div>
</div>
<a class="anchor" id="af0db91312e15cacbd685acc33f8bfbe4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XMipi_MenuInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_mipi___menu.html">XMipi_Menu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>UartBaseAddress</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function takes care of the MIPI menu initialization. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_mipi___menu.html" title="The MIPI menu instance data. ">XMipi_Menu</a> instance. </td></tr>
    <tr><td class="paramname">UartBaseAddress</td><td>points to the base address of PS uart.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="af9a8f7bf04b219aa044a98795614f300"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XMipi_MenuProcess </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_mipi___menu.html">XMipi_Menu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called to trigger the MIPI menu state machine. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_mipi___menu.html" title="The MIPI menu instance data. ">XMipi_Menu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a1ba9a6b6dd08002647c9c9311d98c3d1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XMipi_MenuReset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_mipi___menu.html">XMipi_Menu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets the menu to the main menu. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_mipi___menu.html" title="The MIPI menu instance data. ">XMipi_Menu</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a class="anchor" id="a4a5ac3a38401a55659af4cf0a4a765b0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_ConfigTpg </td>
          <td>(</td>
          <td class="paramtype">XV_tpg *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function generates video pattern. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>TPG Instance Pointer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xmipi__example_8c.html#a4dd9957df1df06f40703f124a18c8904">Pattern</a>.</p>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, and <a class="el" href="xmipi__example_8c.html#a09a07df362490e4ba97f77a9ce5edd74">StartTxAfterRx()</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a2d5525edd4cf0958da26f4eb70d24b85"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 IsPassThrough</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Demo mode 0-colorbar 1-pass through. </p>

</div>
</div>
<a class="anchor" id="a4dd9957df1df06f40703f124a18c8904"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XTpg_PatternId Pattern</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Video pattern. </p>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, and <a class="el" href="xmipi__menu_8c.html#a4a5ac3a38401a55659af4cf0a4a765b0">XV_ConfigTpg()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
